package com.seata.remot;

import lombok.extern.slf4j.Slf4j;
import org.gavin.core.domain.R;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;

/**
 * CallBankLogHystrix
 *
 * @author grl
 * @date 2024/4/18
 */
@Slf4j
@Component
public class CallSeate1ServicHystrix implements FallbackFactory<Callseate1Service> {
    @Override
    public Callseate1Service create(Throwable cause) {
        return new Callseate1Service(){

            @Override
            public R<Boolean> save() {
                return null;
            }
        };
    }
}
